


/******  表格组件样式 ***********/
.k_table_main_wrap {
    border: 1px solid #E5E5E5;
    position: relative;
}
.k_table_main_wrap > div{
    border-bottom: 1px solid #E5E5E5;
}
.k_table_main_wrap > div:last-child{
    border-bottom: none;
}
.k_datagrid_hscroll_wrap{
    overflow-x: auto;
    overflow-y: hidden;
}
.k_table_toolbar_wrap {
    padding: 5px 15px;
}

.k_table_head_wrap table {
    background: #FCFCFC;
    position: relative;
}

.k_table_head_wrap table,
.k_table_body_wrap table {
    border-collapse: collapse;
    table-layout: fixed;
    border-spacing: 0 0;
}

tr.k_table_old_even_cls:nth-child(even){
    background: #FCFCFC;
}


.k_table_head_wrap table td {
    text-align: center;
    border: 1px solid #E5E5E5;   
    position: relative;    
    display: table-cell;
}


.k_table_tbody tr:first-child > *{
    border-top: none !;
}

.k_table_tbody td.k_table_td_all_line{
    border: 1px solid #E5E5E5;
}

.k_table_tbody td.k_table_td_all_line_1{
    border: 1px dotted #E5E5E5;
}

.k_table_tbody td.k_table_td_v_line {
    border-right: 1px solid #E5E5E5;
    border-bottom: none;
}

.k_table_tbody td.k_table_td_v_line_1 {
    border-right: 1px dotted #E5E5E5;
    border-bottom: none;
}

.k_table_tbody td.k_table_td_h_line {
    border-bottom: 1px solid #E5E5E5;
    border-right: none;
    border-left: none;
}

.k_table_tbody td.k_table_td_h_line_1 {
    border-bottom: 1px dotted #E5E5E5;
    border-right: none;
    border-left: none;
}

.k_table_tbody td.k_table_td_none_line {
    border: none;
}

.k_table_head_wrap table td .k_table_cell_text {
    width: 100%;
    height: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.k_table_head_wrap table td .k_table_cell_text .k_table_title_text {
    padding: 5px 8px;
}

.k_table_head_wrap table td .k_table_cell_sort {
    height: 100%;
    width: 12px;
    top: 0;
    right: 0;
    position: absolute;
    vertical-align: middle;
    color: #9D9D9D;
    cursor: pointer;
    background: #FAFAFA;
    border-left: 1px solid #E5E5E5;
}
.k_table_cell_sort i{
    width:12px;
    height:13px;
    text-align: center;
    display: block;
    position: absolute;
    cursor: pointer;
    margin-top: 0;
    opacity: 0.8;
}
.k_table_cell_sort i:hover{
    color:#0268D4;
    opacity: 1;
}

.k_table_cell_padding {
    padding: 0 18px;
}

.k_table_head_title h6 {
    line-height: 30px;
    height: 30px;
    padding-left: 14px;
}

.k_table_head_title,
.k_table_toolbar_wrap,
.k_table_head_wrap {
    background: #EFF3F8;
}

.k_table_cell_chkbox {
    font-size: 18px;
    cursor: pointer;
}
.k_table_chk_disabled{
    cursor: not-allowed;

}
.k_table_chk_disabled i{
    color: #B4B4B4;
}
.k_table_scroll_wrap {
    overflow-x: auto;
    position: relative;
    overflow-y: visible;
}

.k_table_body_wrap {
    position: relative;
    overflow-x: visible;
    overflow-y: auto;
    width: 100%;
}

.k_table_drag_row {
    background-color: #F7F7F7;  
    opacity: 0.9;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.k_table_drag_row>div {
    float: left;
    height: 100%;
    text-align: center;
}

.k_table_cell_sort .k_table_i_icon {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
    width: 16px;
    height: 16px;
    text-align: center;
}

.k_table_body_wrap table tr td {
    line-height: 30px;
    height: 36px;
    display: table-cell;
    position: relative;    
}

.k_table_body_wrap table tr td .k_table_cell_text {
    padding: 2px;
    overflow: hidden;
    max-height: 64px;
    line-height: 1.5em;
    position: relative;
}
.k_mutilline_ellipsis{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.k_table_body_wrap table tr td .k_table_cell_text_nowrap {
    white-space: nowrap;
}

.k_table_cell_text_overflow:after {
    content: " ... ";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 15px;
    background: -webkit-linear-gradient(left, transparent, #fff 55%);
    background: -o-linear-gradient(right, transparent, #fff 55%);
    background: -moz-linear-gradient(right, transparent, #fff 55%);
    background: linear-gradient(to right, transparent, #fff 55%);
}

.k_table_tbody {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.k_table_body_wrap table tr:hover,
.k_table_body_wrap table tr:nth-child(2n):hover {
    background: #FAFAFA;
}

.k_table_tbody_even tr:nth-child(2n) {
    background: #F5F7FC;
}


.k_table_cell_chkbox_disabled {
    cursor: not-allowed;
}

.k_table_loading_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.k_table_loading_bg {
    width: 100%;
    height: 100%;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    background: #909090;
}

.k_table_loading_text {
    margin: 0px auto;
    width: 100px;
    background-color: #ffffff;
    position: relative;
    z-index: 999;
}

.k_table_width_full {
    width: 100%;
}

.k_table_moving_line {
    position: absolute;
    top: 0;
    width: 3px;
    border-left: 1px solid #64E376;
    height: 100%;
    display: none;
    cursor: w-resize;
}

.k_table_load_mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: not-allowed;
}

.k_table_loading {
    margin: 0 auto;
    padding: 4px 6px;
    padding-left: 20px;
    background-position-y: 4px;
    background-color: #ffffff;
    position: relative;
    z-index: 2111111111;
}